package com.itheima.leyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.leyou.po.Category;
import com.leyou.item.dto.CategoryDTO;

import java.util.List;

public interface CategoryService extends IService<Category> {

    List<CategoryDTO> queryCategorysByPid(Long pid);

    List<CategoryDTO> queryCategoryByIds(List<Long> ids);

    CategoryDTO queryCategoryById(Long id);

    List<CategoryDTO> queryCategoryByBrandId(Long bid);
}
